90214: xfi:filter-member-DRS-selection
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Herm Fischer |
|
fischer@markv.com | 01-09-2008 at 00:00:00 |
References
Test Case Variations
V-01
A list of members of North America
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V01)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:NorthAmerica'), "http://xbrl.org/formula/conformance/example/role/primaryItems", 'DRS-descendant' )
(against file V01)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:Mexico')) and index-of($result, xs:QName('concept:Canada')) and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:UnitedStates'))
V-02
Same as V-01 but absent linkrole
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V02)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:NorthAmerica'), "", 'DRS-descendant' )
(against file V02)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:Mexico')) and index-of($result, xs:QName('concept:Canada')) and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:UnitedStates'))
V-03
Same as V-01 but absent linkrole
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V03)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:NorthAmerica'), ( ), 'DRS-descendant' )
(against file V03)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:Mexico')) and index-of($result, xs:QName('concept:Canada')) and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:UnitedStates'))
V-04
A list of members of Oceania (2 levels of descendants)
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V04)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:Oceania'), ( ), 'DRS-descendant' )
(against file V04)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 5 and index-of($result, xs:QName('concept:Australasia')) and index-of($result, xs:QName('concept:Australia')) and index-of($result, xs:QName('concept:NewZealand')) and index-of($result, xs:QName('concept:Melanesia')) and index-of($result, xs:QName('concept:Indonesia'))
V-05
A list of Oceania child subregions
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V05)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:Oceania'), ( ), 'DRS-child' )
(against file V05)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:Australasia')) and index-of($result, xs:QName('concept:Melanesia'))
V-06
A list of Asia subregions with highest peaks
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V06)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:Asia'), ( ), 'DRS-descendant' )
(against file V06)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:SouthAsia')) and index-of($result, xs:QName('concept:Nepal'))
V-07
A empty list of children of child-less member
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V07)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V07)
Outputs
-
Result test:
empty( $result )
V-08
Nothing found if non-member concept as the member argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V08)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Peak'), xs:QName('concept:Mars'), ( ), 'DRS-descendant' )
(against file V08)
Outputs
-
Result test:
empty( $result )
V-09
Nothing found if non-dimension concept as the dimension argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V09)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Mars'), xs:QName('concept:Peak'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V09)
Outputs
-
Result test:
empty( $result )
V-10
Nothing found if concept without any has-hypercube relationships is used as the primary item argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V10)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:Mars'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V10)
Outputs
-
Result test:
empty( $result )
V-11
Error of non-XBRL element as any of the arguments
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V11)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:nonXbrlElement'), xs:QName('concept:nonXbrlElement'), xs:QName('concept:nonXbrlElement'), ( ), 'DRS-descendant' )
(against file V11)
Outputs
-
Result test:
empty( $result )
V-12
Raises an error for an attribute declaration dimension argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V12)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:anAttribute'), xs:QName('concept:Peak'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V12)
Outputs
- Error code: xfie:invalidDimensionQName
V-13
Raises an error for an attribute declaration primary item argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V13)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('concept:Location'), xs:QName('concept:anAttribute'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V13)
Outputs
- Error code: xfie:invalidPrimaryItemConceptQName
V-14
Raises an error for an xbrli namespace'ed argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V14)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-DRS-selection( xs:QName('xbrli:item'), xs:QName('concept:Peak'), xs:QName('concept:Nepal'), ( ), 'DRS-descendant' )
(against file V14)
Outputs
- Error code: xfie:invalidDimensionQName
Revisions
Name | On | Details |
---|---|---|
Herm Fischer | 18-07-2011 at 00:00:00 |
|